home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Tracker Coordinates
- Sent: 6/6/96 3:18 PM
- Received: 6/6/96 3:42 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >I don't know if this is related to the problem Bill Finzer does experience,
- >but there is indeed a bug in FW_CTracker::Track, which applies
- >FrameToViewContent to all views, not only the content view. This is
- >incorrect since views other than the content view should not be affected by
- >the internal transform.
- >
- >ODFDraw is not affected by this problem because it only tracks the content
- >view.
- >
- >Serge
- >
-
- Yes indeed. I was looking at our current code and not ODF Release 1. This
- is a bug discovered by Serge and it is fixed in our current code. The
- following lines in FW_CTracker::Track should be changed from:
-
- frame->GetContentView(ev)->FrameToViewContent(ev, where);
- fAnchorPoint = BeginTracking(ev, where);
-
-
- to
-
- GetView(ev)->FrameToViewContent(ev, where);
- fAnchorPoint = BeginTracking(ev, where);
-
-
- The tracker should use the tracker's view not the content view.
-
- Thanks to Serge.
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-